package com.wenxixuanwu.fruitstore.mapper;

import com.wenxixuanwu.fruitstore.entity.FruitBrand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FruitBrandMapper {

    @Select("select * from fruitbrand")
    @Result(column = "b_id",property = "bId")
    @Result(column = "b_name",property = "bName")
    List<FruitBrand> selectByBrand();
}
